package com.zmn.oms.services.interfaces.datasync;

import org.springframework.scheduling.annotation.Async;

import java.util.List;

/**
 * 类描述：es 数据同步
 * @author heciqi
 * @since 2022/3/10 11:01
 */
public interface ElasticSearchDataSyncService {
	@Async
	void syncWorkIndex(Long orderId);
	@Async
	void syncWorkIndex(List<Long> orderIdList);
	@Async
	void syncPartIndex(Long orderId);
	@Async
	void syncPayIndex(Long orderId);
	@Async
	void syncPerfOrderWorkIndex(Long orderId);
}
